
#import "SavingsCalculator.h"

@class SavingsCalculator;

@interface SavingsCalculatorLampCalculation : NSObject

@property (nonatomic, strong) NSString *lampTypeKey;
@property (nonatomic, strong) SavingsCalculatorLampType *lampType;

@property (nonatomic, assign) CGFloat effect;
@property (nonatomic, assign) CGFloat price;

// Calcuated values
@property (nonatomic, readonly) CGFloat lampsNeeded;
@property (nonatomic, readonly) CGFloat lampsPurchaseCost;
@property (nonatomic, readonly) CGFloat usedEnergy;
@property (nonatomic, readonly) CGFloat usedEnergyCost;
@property (nonatomic, readonly) CGFloat totalCost;
@property (nonatomic, readonly) CGFloat totalSavings;
@property (nonatomic, readonly) CGFloat totalSavingsExact;

-(instancetype)initWithSavingsCalculator:(SavingsCalculator *)savingsCalculator NS_DESIGNATED_INITIALIZER;

@end
